package com.yuexiao;

import com.alibaba.dubbo.config.spring.context.annotation.EnableDubbo;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @ClassName:ProviderApplication
 * @Auther: YUEXIAO
 * @Description: TODO
 * @Date: 2022/8/10 14:41
 * @Version: v1.0
 */
@SpringBootApplication
@EnableDubbo
@Slf4j
@EnableTransactionManagement
public class ProviderApplication {
    public static void main(String[] args) {
        SpringApplication.run(ProviderApplication.class,args);
        System.out.println("提供者启动成功...");
    }
}
